package lock_condition;

public class Test{
public static void main( String []args ){
BufferLimitato<Integer> b=new MailBox<Integer>( 5 );
Sender s1=new Sender( 1, 0, b );
Sender s2=new Sender( 2, 1000000, b );
Receiver r1=new Receiver( 1, b );
Receiver r2=new Receiver( 2, b );
Receiver r3=new Receiver( 3, b );
s1.start(); s2.start(); r1.start(); r2.start(); r3.start();
}
}
